import { Outlet } from "react-router-dom";
import { Link } from "react-router-dom";

export default function Layout() {
  return (
    <div>
      <Link to="/">Home</Link>-----<Link to="/My">My</Link>
      <h1>一级路由出口</h1>
      <Outlet />
    </div>
  );
}
